import request from '@/utils/request'

// 查询妇产科考试列表
export function listGo_score_exam(query) {
    return request({
        url: '/go_score/go_score_exam/list',
        method: 'get',
        params: query
    })
}

// 查询妇产科考试详细
export function getGo_score_exam(id) {
    return request({
        url: '/go_score/go_score_exam/' + id,
        method: 'get'
    })
}
export function getGo_score_exam_all(id) {
    return request({
        url: '/go_score/go_score_exam/all/' + id,
        method: 'get'
    })
}

// 新增妇产科考试
export function addGo_score_exam(data) {
    return request({
        url: '/go_score/go_score_exam',
        method: 'post',
        data: data
    })
}

// 修改妇产科考试
export function updateGo_score_exam(data) {
    return request({
        url: '/go_score/go_score_exam',
        method: 'put',
        data: data
    })
}

// 删除妇产科考试
export function delGo_score_exam(id) {
    return request({
        url: '/go_score/go_score_exam/' + id,
        method: 'delete'
    })
}
